package me.xhy.java.springboot3.r2dbc.s04repository.s043entity;

import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

@Table("xs1_t_demo1")
public class S043Entity {

  @Column("id")
  private Long id;
  @Column("dept_id")
  private Long deptId;
  @Column("tenant_id")
  private String tenantId;

  public S043Entity(Long id, Long deptId, String tenantId) {
    this.id = id;
    this.deptId = deptId;
    this.tenantId = tenantId;
  }

  @Override
  public String toString() {
    return "s043Entity{" +
        "id=" + id +
        ", deptId=" + deptId +
        ", tenantId='" + tenantId + '\'' +
        '}';
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getdeptId() {
    return deptId;
  }

  public void setdeptId(Long deptId) {
    this.deptId = deptId;
  }

  public String getTenantId() {
    return tenantId;
  }

  public void setTenantId(String tenantId) {
    this.tenantId = tenantId;
  }
}
